//-----------------------------------------------------------------------------
// Name: Billboard.h
// Auth: Bradford J. Smith
// Desc: a simple textured quad class
//-----------------------------------------------------------------------------

#ifndef _BILLBOARD_
#define _BILLBOARD_

#include "SharedConstants.h"

//-----------------------------------------------------------------------------
// Forward Declarations:
//-----------------------------------------------------------------------------
namespace corona
{
	class Image;
}

//-----------------------------------------------------------------------------
// cBillboard:
//-----------------------------------------------------------------------------
class cBillboard
{
public:
	// Constructors:
	cBillboard();
	~cBillboard();

	//-----------------------------------------------------------------------------
	void SetSize(float size);
	// Desc: sets the size of the billboard

	//-----------------------------------------------------------------------------
	void SetPosition(const tVector3f& position);
	//float GetSize();
	// Desc: returns the size of the billboard

	//-----------------------------------------------------------------------------
	void SetImage(corona::Image* pImage);
	// Desc: stores a local pointer to the image data.

	//-----------------------------------------------------------------------------
	void Draw();
	//void Draw(const tVector3f& position, float rotation);
	// Desc: Renders a textured quad centered on its location, rotated about the
	//	z axis by the specified rotation in radians.

private:
	// Members:
	tVector3f mPosition;
	float mSize;

	corona::Image* mImageData;
};

cBillboard* GetBillboard();


#endif